package com.actitime.pagefactory;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

public class Login {
	// username
	@FindBy(name="username")
	private WebElement userNameEdt;
	//password
	@FindBy(name="pwd")
	private WebElement pwdEdt;
	//Login button
	@FindBy(id="loginButton")
	private WebElement loginBtn;
	
	// the getter Methods to be called by other classes
	public WebElement getUserNameEdt() {
		return userNameEdt;
	}
	public WebElement getPwdEdt() {
		return pwdEdt;
	}
	public WebElement getLoginBtn() {
		return loginBtn;
	}
}
